<!-- js call TinyMCE -->
<script type="text/javascript">
	edittext('description');
	edittext('content');
</script>

<!-- js validate form  -->
<script type="text/javascript">
	$(document).ready(function() {
		$("#add").validate();		
	});	
	$.metadata.setType("attr", "validate");
</script>


            <div class="header2">
                <p class="pHead"><?php echo $title;?></p>
                <img src="images/icon/back.png" class="iconBack" alt="icon" />
                <span class="back"><a href="#">Quay lại trang trước</a></span>
            </div>
            
            <form method="POST" action="<?php echo base_url();?>back_end/yahoo/edit/<?php echo $admin_yahoo['id'] ?>" name="add" id="add" enctype="multipart/form-data">
            <div class="contentMain">
            	<div class="contentSearch">            	
            	<table class="tableSearch">
            		<tr>
                    	<td class="tdSearch">Tên nhân viên hỗ trợ khách hàng:</td>
                    	<td class="tdSearch2"><input type="text" value="<?php echo $admin_yahoo['name']; ?>" name="name"></td>
                    </tr>
                	<tr>
                    	<td class="tdSearch">Yahoo:</td>
                    	<td class="tdSearch2">
                    		<input type="text" name="yahoo" value="<?php echo $admin_yahoo['yahoo']; ?>">
                    	</td>
                    </tr>
                 	<tr>
                    	<td class="tdSearch">Skype:</td>
                    	<td class="tdSearch2">
                    		<input type="text" name="skype" value="<?php echo $admin_yahoo['skype']; ?>">
                    	</td>
                    </tr>
                	<tr>
                    	<td class="tdSearch">Lĩnh vực:</td>
                    	<td>
                    		<select name="position" class="selectText">
                            	<option value="kd" <?php if ($admin_yahoo['position'] == "kd") { echo "selected";} ?>>Kinh doanh</option>
                            	<option value="kt" <?php if ($admin_yahoo['position'] == "kt") { echo "selected";} ?>>Kỹ thuật</option>
	                        </select>
                    	</td>
                    </tr>
                    <tr>
                    	<td class="tdSearch">Số điện thoại:</td>
                    	<td class="tdSearch2">
                    		<input type="text" name="phone" value="<?php echo $admin_yahoo['phone']; ?>">
                    	</td>
                    </tr>
                    <tr>
                    	<td class="tdSearch">Trạng thái:</td>
                    	<td>
                    		<input type="checkbox" value='1' name="status" class="inputCheck" <?php if ($admin_yahoo['status'] == 1) { echo 'checked=checked';} ?> />
                    	</td>
                    </tr>
                	<tr>
                    	<td class="tdSearch">&nbsp;</td>
                    	<td class="tdSearch2">                        	
                            <div class="searchbutton">
                                    <input type="submit" class="buttonSM" value="Add" name="editForm" />
                            </div><!-- end searchbutton -->                      	
                            <div class="searchbutton searchReset" >
                                    <input type="reset" class="buttonSM"  value="Reset" name="reset" />
                            </div><!-- end searchbutton -->
                        </td>
                    </tr>
                </table>
            </div><!-- end contentSearch -->
            </div><!-- end contentMain -->
            </form>